package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap57 extends OSMap
	{
		public function OSMap57()
		{
			super();

			var ground:OSGround = new OSGround(0, 740, 200, 340, 0, false);
			ground.setNoErosionDown([160, 161, 162, 163, 164, 165, 166, 167, 168, 169]);
			ground.setNoErosionLeft([0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160]);
			ground.setNoErosionRight([89, 99, 109, 119, 129, 139, 149, 159, 169]);
			ground.erode();
			add(ground);

			ground = new OSGround(210, 790, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(200, 900, 240, 180, 0, false);
			ground.setNoErosionUp([1, 2, 3, 4, 5, 6, 7, 8, 9]);
			ground.setNoErosionDown([96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]);
			ground.setNoErosionLeft([0, 12, 24, 36, 48, 60, 72, 84, 96]);
			ground.setNoErosionRight([11, 23, 35, 47, 59, 71, 83, 95, 107]);
			ground.erode();
			add(ground);

			ground = new OSGround(220, 800, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

			ground = new OSGround(220, 860, 180, 40, 0, false);
			ground.setNoErosionUp([0, 8]);
			ground.setNoErosionDown([9, 10, 11, 12, 13, 14, 15, 16, 17]);
			ground.erode();
			add(ground);

			ground = new OSGround(380, 800, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

			ground = new OSGround(440, 680, 140, 400, 0, false);
			ground.setNoErosionUp([0]);
			ground.setNoErosionDown([133, 134, 135, 136, 137, 138, 139]);
			ground.setNoErosionLeft([77, 84, 91, 98, 105, 112, 119, 126, 133]);
			ground.setNoErosionRight([6, 13, 20, 27, 34, 41, 48, 55, 62, 69, 76, 83, 90, 97, 104, 111, 118, 125, 132, 139]);
			ground.erode();
			add(ground);

			ground = new OSGround(420, 600, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(580, 540, 380, 540, 0, false);
			ground.setNoErosionDown([494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512]);
			ground.setNoErosionLeft([0, 133, 152, 171, 190, 209, 228, 247, 266, 285, 304, 323, 342, 361, 380, 399, 418, 437, 456, 475, 494]);
			ground.setNoErosionRight([18, 37, 56, 75, 94, 113, 132, 151, 170, 189, 208, 227, 246, 265, 284, 303, 322, 341, 360, 379, 398, 417, 436, 455, 474, 493, 512]);
			ground.erode();
			add(ground);

		}
	}
}
